Integrating Ecommerce functionality:
While that's pretty neat, you can actually take things a step further by fully integrating with our Ecommerce 360 tracking functionality. Once that is turned (and your store is properly configured - see below), not only will order data for your list members be tracked, but you'll also be able to see the purchases directly related to a campaign in its reports section.
Preparing your Store
If you're using a fairly popular Ecommerce solution, by far the the easiest way to do this is by dropping in one of the numerous 3rd Party Plugins that have already been developed and tested. They'll handle all the heavy lifting of capturing campaign data and passing it back to us via the API.
However, if a plugin does not exist, you need custom functionality, or you just want to create a new plugin you'll need to read through the following information on how to develop for Ecommerce360 tracking...
Developing for Ecommerce360
When Ecommerce360 tracking is turned on, we simply add 2 special parameters to all tracked links:
- mc_cid - this is the campaign's unique_id
- mc_eid - this is the member email's unique_id
Now that you have stored that data a customer can browse around the store and, should they eventually make a purchase, you would then:
- Grab the mc_cid and mc_eid data you stored
- Collect the relevant Order Data
- Package all of that together and use the campaign specific campaignEcommOrderAdd method to send it over
- Fin. That's it!