Hi - does anyone have experience getting a custom trigger to fire via code?
I've setup a custom trigger, added to our website via Google Tag Manager, set to fire on certain activities. I can see the tag is firing on the website, but the journeys are not getting started. Here is an example of what I am firing:
function track_msdynmkt_test_092405200() {
window[/msdynmkt/].setUser({ authId: /test@example.com/}); // ID, e-mail or phone number - see instructions
window[/msdynmkt/].trackEvent({
name: /msdynmkt_test_092405200/, //Trigger title: Test - Website Trigger
ingestionKey : /example-key/,
version: /1.0.0/ ,
properties: {
/bindingid/ : //
}
});
}
Note the code snippet docs states:
Replace <customer-id> with a contact identifier. The identifier can be
Unique identifier of contact
Email address
Phone number (needs to exactly match the number in the customer record, including formatting)
I have tried using contactid, email address for a unique contact - but still nothing seems to come through. Unfortunately doesn't seem to be anyway to debug this either?