@financial-times/o-tracking
Version:
Provides tracking for a product. Tracking requests are sent to the Spoor API.
19 lines (16 loc) • 413 B
JSX
export default {
title: "Maintained/o-tracking"
};
export const NoJavascript = () => {
return (
<>
<div class="o-tracking o--if-no-js" data-o-component="o-tracking">
<div
style={{background: "url('https://spoor-api.ft.com/px.gif?data=YOUR_URL_ENCODED_JSON_DATA_HERE')"}}></div>
</div>
<div>
<p>Check the HTML tab to see the code to track without JavaScript.</p>
</div>
</>
);
};