Setting Up Google Analytics Tracking

  1. Set up a Google Analytics account on analytics.google.com
  2. What would you like to track: Website
    Website URL: https://custom_subdomain.howler.co.za or https://www.howler.co.za
  1. Copy the tracking ID (just the UA- part, not the full script)
  2. Visit tagmanager.google.com
  3. Create a new container
  4. Container name: Organiser name
    Where to use container: Web
  5. On the left sidebar, click "Tags"
  6. Click "New" to create a new tag
  7. Click in the "Tag Configuration" box to select the tag type
  8. Select the "Google Analytics - Universal Analytics" tag type
  9. Select the Track Type: "Page View"
  10. For the "Google Analytics Setting", select "New Variable..." from the dropdown options
  11. Enter your Google Analytics tracking ID (just the UA- part, not the full script) and Save without editing any other settings
  12. Name the variable: "Google Analytics Tracking ID"
  13. Save variable
  14. Save the Tag Configuration
  15. Click on the "Triggering" box to configure the tag trigger
  16. Create a new trigger by clicking the "+" in the top right
  17. Click on the "Trigger Configuration" box to select the trigger type
  18. Select the "Custom Event" trigger
  19. The event name must be exactly: turbolinks:load
  20. Save without editing any other settings
  21. Name the Trigger "Turbolinks Load"
  22. Save the tag
  23. Name the tag: "Google Analytics - Page Views"
  24. Save
  25. To add Google Analytics E-Commerce tracking as well, follow these steps:
    1. Click "New" to create a new tag
    2. Click in the "Tag Configuration" box to select the tag type
    3. Select the "Google Analytics - Universal Analytics" tag type
    4. Select the Track Type: "Transaction"
    5. For the "Google Analytics Setting", select "Google Analytics Tracking ID" from the dropdown options
    6. Save the Tag Configuration
    7. Click on the "Triggering" box to configure the tag trigger
    8. Select the "Turbolinks Load" trigger
    9. Save the tag
    10. Name the tag: "Google Analytics - E-Commerce"
    11. Save
  26. In the top right hand corner of the Tag Manager interface, click "Submit"
  27. Without editing anything on the page, click "Publish" in the top right hand corner
  28. Without specifying any version description, click "Continue"
  29. Now that your tag is published, click "Admin" from the main navigation
  30. Copy your Tag Manager code (starting with GTM-) next to your organiser name
  31. Visit the admin portal at www.howler.co.za/admin
  32. Click 'Organisers' at the top of the screen
  33. Click 'View' on the organiser you want to add analytics tracking to
  34. Click "Analytics Settings" in the top right
  35. Paste the Google Tag Manager code (the GTM- code)
  36. Save
  37. Wait a few minutes and your page views will start reflecting in Analytics
  38. If you added E-Commerce tracking, you will need to enable it in your Analytics account:
    1. Visit analytics.google.com
    2. On the left sidebar, within "Conversions", there is a section called "Ecommerce", click "Overview" within that section
    3. Enable Ecommerce tracking


How Did We Do?