Has anyone implemented Mixpanel on their site? One of our implementation items is a page ID and since we are using a CMS, I'm not sure how to put a unique page ID on each page.
Each page already has a unique ID in Umbraco. You can access it from a template by using @Model.Id.
It would help to know specifics about the integration you're trying to set up, but in general, to integrate Umbraco with Mixpanel, you will probably need to write some sort of API in C# to output data to Mixpanel via JSON. You can read more about creating APIs in Umbraco here.
Mixpanel Implementation
Has anyone implemented Mixpanel on their site? One of our implementation items is a page ID and since we are using a CMS, I'm not sure how to put a unique page ID on each page.
Thanks for any advice!
Each page already has a unique ID in Umbraco. You can access it from a template by using
@Model.Id
.It would help to know specifics about the integration you're trying to set up, but in general, to integrate Umbraco with Mixpanel, you will probably need to write some sort of API in C# to output data to Mixpanel via JSON. You can read more about creating APIs in Umbraco here.
is working on a reply...