This video shows how to create data elements for your Analytics implementation in tags based on the variables and events documented in a Solution Design Reference (SDR) document.
So we’ll grab that one.
And add that one.
Clean the text.
Save it. And you’ll see doing this, of course, it saved it to our working library, so we don’t have to go into publishing and run another build, because it was building every time, but in any case, those are the data elements that we needed according to our solution design. We’ll be using the product event and seeing what that is in our rules, we’ll be using our page name and site section and search term and I almost forgot the product ID. Cart ID, no we did product ID, we need cart ID to put into the purchase ID, so we’ll do one more.
And we’ll call this Order ID.
And we’ll put that in there and it’s actually cart ID in our data layer, and that is that, folks. So, hope this was helpful, and you’ll go through your STR, create all the data elements that you need. Good luck.