Google Analytics Events

(Please make sure you put Google Analytics tracking code in Settings>Advanced>Services and remove the Google Analytics tracking code in your header code to enable this feature)

Google Analytics Events

We publish events to Google Analytics when actions are taken on your site. Currently, we publish the following events:

1. Contact form submission:

We publish a Google Analytics event when the contact form has a successful submission:

category: 'Actions'
action: 'EmailCollected'

2. CTA

category: 'Action'
action: 'ButtonClick'

 

Other Events

If you want to publish the event to other services such as Mixpanel or Google Adwords conversion, you can subscribe to our event topics and pass in a function that respond to the event. 

var trackingFunc = function() {
window.edit_page.Event.subscribe('topicName', function(topic, data) {
// put your tracking here
});
}

if (typeof _strk != 'undefined') { _strk.push(['Page.didMount', trackingFunc]); } else { window.runAfterDomBinding.add('custom', trackingFunc); }

Available topics:

1. Site.contactForm.submit

Event will be fired when user submits the contact form.

If you are going to track this event for Google Adwords, please see here for sample code.

2. Site.button.click

Event will be fired when user clicked on any CTA button.

If you are going to track this event for Google Adwords, please see here for sample code.


Note:

If you have 2 or more forms on your site, there's no way you can differentiate which one the submission has been sent through.

In case you need assistance, shoot us a line at support@strikingly.com or chat with us.

Have more questions? Submit a request