Advanced
The Advanced tab contains powerful settings for tracking, integrations, and customization.
The tracking and customization options in this section require a Pro plan.
API token
Generate a personal API token to connect TinyPages with external automation tools like Zapier or Make. Once you have a token, you can build custom workflows — for example, automatically adding a contact to TinyPages when a new row is added to a Google Sheet, or sending a Slack message when someone purchases a product.
The full API documentation is available at api.tinypages.dev/docs.
Facebook Pixel
Connect your Meta Pixel so Facebook and Instagram can see what happens on your pages: who views them, who signs up, and who buys. That feedback is what lets Meta show your ads to the right people and report the results you actually get for your budget.
There are two fields to fill in, and both play a role:
- Pixel ID identifies your pixel. On its own, it lets the visitor's browser report activity to Meta.
- Access token (Conversions API) lets TinyPages send those same events to Meta directly from its servers, not only from the visitor's browser. This is what makes sales tracking dependable. Many browsers (Safari on iPhone, ad blockers, refused cookies) block the browser signal, so without this token some purchases never reach Meta even though page views still do.
Once both are saved, TinyPages fires these standard Facebook events for you:
PageViewwhen a page is viewedLeadwhen a form is submittedAddToCartwhen a checkout page loadsPurchasewhen a payment is completed
Adding your access token
- In Meta Events Manager, open your pixel and go to Settings.
- In the Conversions API section, click Generate access token, then copy it (it starts with
EAA). - Back in TinyPages, paste it into the Access token field next to your Pixel ID, and save.
This almost always means the access token is missing. With only the Pixel ID, purchase tracking depends on the buyer's browser, which frequently blocks it. Add the Conversions API access token using the steps above so TinyPages reports each sale to Meta directly. Keep in mind that Meta can also take a few hours to display a new purchase.
Google Tag Manager / Google Analytics
Enter a GTM container ID or a Google Analytics measurement ID to add tracking to your entire site. This is the recommended path if you want detailed analytics beyond TinyPages' built-in view counts.
Custom code
Paste custom HTML or JavaScript into the <head> of all your public pages. Use this for third-party tracking scripts, chat widgets, custom fonts, or any other code your site needs globally.
Tracking ad conversions
If you run ads on X (Twitter), TikTok, LinkedIn, or a similar platform, you want them to know when someone becomes a lead or buys from you. That feedback is how each platform learns who to show your ads to, and it's what makes your budget work harder over time. TinyPages announces each of these key moments on your page, and you connect them to your ad platform with a few lines in the Custom code box.
A built-in helper called onTinyPagesEvent is already available on every one of your pages, so there's nothing to install. You tell it which moment to watch, and what to do when it happens.
There are three moments you can react to:
| Moment | When it happens | Information you receive |
|---|---|---|
lead | A visitor submits one of your forms | email, first name, last name, phone |
add_to_cart | A checkout page opens | product, value, currency |
purchase | A payment goes through | email, product, value, currency, first name, last name, phone |
First name, last name, and phone are only filled in when your form actually asks for them. If a form collects only an email, the rest stays empty, so always check a value before you use it.
Example: send a lead to X (Twitter). First load your X base pixel (replace YOUR_PIXEL_ID with your own), then react to the lead:
<!-- Your X (Twitter) base pixel -->
<script>
!function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments)},s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='https://static.ads-twitter.com/uwt.js',a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script');
twq('config','YOUR_PIXEL_ID');
</script>
<!-- Send the conversion when someone becomes a lead -->
<script>
onTinyPagesEvent('lead', function (lead) {
twq('event', 'tw-xxxxx-xxxxx', {
email_address: lead.email || undefined,
phone_number: lead.phone || undefined,
});
});
</script>
Example: track a purchase.
<script>
onTinyPagesEvent('purchase', function (order) {
twq('event', 'tw-xxxxx-xxxxx', {
value: order.value,
currency: order.currency,
email_address: order.email || undefined,
});
});
</script>
Using Google Tag Manager? The same three moments are also sent to your data layer as tinypages_lead, tinypages_add_to_cart, and tinypages_purchase. Create a Custom Event trigger for each name, then read the details from Data Layer Variables under tinypages, for example tinypages.email or tinypages.value.
Delete your account
At the very bottom of the tab, Delete my account permanently removes your account and all its data. This cannot be undone, so export anything you want to keep first. Only the account owner sees this option.