Acme.com examples

I see acme.com in the examples but I do not have that schema available. Where do you get it from, is it just a place holder? For instance this example:

trackPageView({
// The usual array of static contexts
context: [{
schema: ‘iglu:com.acme/static_context/jsonschema/1-0-0’,
data: {
staticValue: new Date().toString()
}
}],
// Function which returns an array of custom context
// Gets called once per page view / page ping
contextCallback: function() {
return [{
schema: ‘iglu:com.acme/dynamic_context/jsonschema/1-0-0’,
data: {
dynamicValue: new Date().toString()
}
}];
}
});

When I run it fails of course because I do not have that schema.
I loaded the defaults using igluctl and tried using other schemas just wondering what’s with the acme.com default and is it available?

Thank you very much

Yeah that’s just a placeholder.

For custom event tracking you’ll need to create your own schemas - there’s an intro to this here: Structuring your data with schemas - Snowplow Docs.

Hope that helps.

1 Like