Support

Event Tracking code on doc subdomain

Our Support Desk is where our clients and community come together to find solutions.

Answered
0
0

Can you add event tracking code to the F-1 inquiry form on the DOCS site: https://docs.cci-exchange.com/high-school/f-1-high-school/inquiry-form

Here is the code:
ga(‘send’, {
hitType: ‘event’,
eventCategory: ‘Form’,
eventAction: ‘Submit’,
eventLabel: ‘F1inquiry’
});

  • Ray
    We will add an admin control to allow for other pages to have custom tracking code, but would like to ask if this should be appended to the standard "pageview" tracking or replace it?
  • Nelly
    appended to the standard pageview tracking - thanks
  • You must to post comments
Best Answer
0
0

We’ve updated the template code and added a new admin panel to allow for insertion of additional GA events – you can see this in action on the staging version here: http://docscci.staging.wpengine.com/high-school/f-1-high-school/inquiry-form

Note that the additional events are appended to the standard GA tracking code, before the pageView event is triggered.

  • Ray
    We also ran all the required plugin updates on the Docs site in combination with this push.
  • Ray
    We also added the tracking code to the form on production - https://docs.cci-exchange.com/high-school/f-1-high-school/inquiry-form - please check the GA stats and confirm this is working as expected.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Why not Search Our Work or Get in Touch