Data Elements
Last updated
Last updated
In Magic Pixel, data elements are the core of everything. Data elements act as components that intelligently fetch information from across your digital property.
On Magic Pixel, all the standard and commonly used data elements are readily available, and you can directly set them up for your requirement.
Creating Custom Data Elements
On the Magic Pixel, you can create custom data elements for both your “Browser Side” and “Server Side” as per your requirement.
To create a custom data element:
Step 1: Go to the data elements section and click on "Add Data Element" on the top right and choose if you want to add it for the client-side or server-side.
Step 2: Once you select between creating a new client-side or server-side data element, you can now set it up on the new data element page. Here, you should first set up a name and a description for the data element.
Step 3: Now, you have to choose the type of data element you want to create. Here the data elements could be of different types for both client-side and server-side.
Types of data elements for browser-side data elements
On Magic Pixel, you can classify browser-side data elements into 4 types. They are "URL Parameters", "Launch Data Element Type", "Custom JavaScripts", & "Magic Pixel Data Layer". You can classify your browser-side data element into any of these 4 types as per your requirement.
Types of data elements for server-side data elements
On Magic Pixel, you can classify server-side data elements into 3 types. They are "Server Cookies", "Server Header" & "JSON Path. You can classify your server-side data element into any of these 3 types as per your requirement.
Step 4: Once you select the data element type and set up its respective data, you can save and your new custom data element will be seen in the data elements section.
This is how you standard and custom data elements on Magic Pixel