Skip to main content

Ticketing widget

Setup Google Tag Manager (v1)

  1. Login to your Google Tag Manager account and start by creating a new container.

    7.png
  2. Fill in a container name, select the correct target platform (Web), and click Create.

    8.png

    Ignore the ‘Install Google Tag Manager’ window for now, by clicking the OK button.

  3. On the ‘Workspace‘ page, click Tags and then click New.

    9.png
  4. Edit the Tag Configuration and choose Google Analytics: GA4 Configuration as the tag type.

    10.png
    11.png
    12.png
  5. Paste the ‘Measurement ID‘ you copied from Google Tag Manager.

    If you need to copy it again, you can find it in Google Analytics > Admin > Account > Property > Data Streams > Your stream > MEASUREMENT ID (identifier starting with ‘G-’).

    14.png
  6. Add a trigger by clicking on the Triggering tile and then the + button.

    13.png
  7. Click the Trigger Configuration tile and select Custom Event as the trigger type (under Other).

    15.png
  8. Complete the Trigger Configuration settings.

    Add the following value to the event name field:

    view_item|add_to_cart|remove_from_cart|begin_checkout|add_payment_info|purchase|refund|view_cart|select_promotion|login|signup

    Note

    Select ‘Use regex matching’.

    16.png

    Give the trigger a name (eg. ‘GA4 - Ecommerce trigger‘) and click Save.

  9. Name the tag settings.

    The tag configuration should look like this:

    17.png

    Give it a name (eg. ‘GA4 - Configuration‘) and click Save.

  10. Create another Tag by clicking on the New button in the Tags component, and choose Google Analytics: GA4 event as the tag type.

    18.png
  11. Complete the Tag Configuration settings.

    Select the tag configuration you created in the previous steps as ‘Configuration Tag'.

    19.png

    For the ‘Event Name‘, click the add event name button next to the input field and select the variable with the name ‘Event‘.

    20.png
    21.png

    This will fill in the ‘Event Name‘ field with the value {{Event}}. Expand More Settings and check Send Ecommerce data.

    22.png
  12. Set a trigger by clicking on the Triggering tile and then select the previously created trigger.

    23.png
  13. Give the Tag Configuration a name and click Save.

  14. Finally, publish the tags.

    First, click the Submit button from the workspace page.

    24.png

    Indicate Publish and Create Version, add a version name and description, and click Publish.

    25.png
  15. Copy the script tags that need to be added to the Enviso Ticketing widget webpage.

    Navigate to Admin > Container > Install Google Tag Manager.

    26.png

    Copy the code that needs to be added to the <head> tag.

    27.png