Pass Products to ActiveCampaign from Datalayer?

Can I send product info from the datalayer on the Shopping Cart & Receipt page to ActiveCampaign?

For instance, when a user visits the Checkout Page, check if Product X is in datalayer, if yes, add tag “Added to Cart: Product X”.

Also can I send the cart amount to the Deal Value field?

Thanks!

1 Like

Hi @farmergirlmeats300,

Are you asking about a Google Tag Manager integration with our Event Tracking?

A native Abandoned cart system is currently underway for our ecommerce deep data integrations.

Since it looks like you are running a custom .NET setup, you could either set things up w google tag manager, or you could also just use our event tracking normally.

The docs are in PHP (we are changing that) but it basically involves making a POST request to our event tracking API with an event name “Added to Cart: Product X” your actid, event key, any event data you want to include, and a visit object/array with an email (the user to associate the event with).

Here is a screenshot of that setup in POSTman.

You can do this client side with an ajax call (like in GTM), and I have put together a few examples of this, although not for GTM specifically: How to Log Event When Audio Ends

I also wrote this longer blog post on event tracking with AC, that is worth a read: http://www.activecampaign.com/blog/how-to-setup-activecampaign-event-tracking/

Lastly, there was some good discussion on event tracking in our slack channel - https://activecampaign-group.slack.com/archives/C07HA2S5N/p1490090092573648?thread_ts=1489737242.817088&cid=C07HA2S5N

Where somebody shared this GTM video https://www.youtube.com/watch?v=bNkjmoZYCIU

Hope that helps!

2 Likes

Well, the GTM solution is the only method I could think of for accomplishing this.

If we’re capable, can we incorporate the Deep Data Integration with our site to pull customer order data? I’m not clear if it will only work with Shopify/BigCommerce or if that’s just the out-of-the-box options.

Thanks!

Those are the out of the box options, but you can use whatever you want to send your own data, if you have a custom cart, so that could work if you are up for it!

I would also take a look at The Big Picture. They are a Point and click event tracking, and have a direct integration with us for event tracking.

You can add an event tracker for the “add to cart” form submit event if it is a form, or just a button click, and then pass the name of the product as a parameter with the event.

Thats probably the quickest way, and you can integrate w GTM too.

Yes I was looking at Big Picture, found in a previous post. Thanks for your help, I really appreciate it!

1 Like

Of course! That’s what we’re here for.

Slightly off-topic … @jskole do we need an invitation for the slack channel? Or maybe our Slack login has to be the same email as Active Campaign?

You shouldn’t need an invitation, you tried joining from this page and it wouldn’t let you?

I was just trying to add the team name manually. From your community page, you request an invite. Invite email didn’t arrive when I did. Took a couple of tries but I finally got it. Thanks!!!

1 Like