-
-
- Submit Updated Articles to Bing and Yandex with IndexNow in Joomla
- Add Published and Modified Date Meta Tags to Joomla
- Add Open Graph and Twitter Card Tags to Joomla
- Auto-Generate Meta Descriptions from Article Text in Joomla
- Add Noindex to Specific Pages in Joomla
- Verify Your Joomla Site with Google Search Console
-
- Add a View as Markdown Link to Joomla Articles
- Display the Last Modified Date in Joomla Articles
- Embed Iframes in Joomla
- Automatically Link Twitter (X) @mentions in Joomla Articles
- Open External Links in a New Tab in Joomla
- Display Estimated Reading Time in Joomla Articles
- Replace Old URLs in Joomla
- Search and Replace in Joomla
-
- Add a Footer Line to the Joomla Administrator
- Show a Staging Banner in the Joomla Administrator
- Remove the "All" Option from Admin List Limits in Joomla
- Add a Cookie Consent Banner to Joomla
- Make the Administrator Navigation Sticky in Joomla
- Add Google Fonts to Joomla
- Add a Facebook Messenger Chat Button to Joomla
- Add a Reading Progress Bar to Joomla
- Add a Custom Scrollbar to Joomla
- Show Confetti on a Thank You Page in Joomla
- Add Smooth Scrolling to Joomla
- Add a Back to Top Button in Joomla
- Add a WhatsApp Chat Button in Joomla
-
- Protect the Administrator with a Secret URL Key in Joomla
- Show a Welcome Message on First Login in Joomla
- Log Out Idle Administrators in Joomla
- Assign New Users to a Different User Group Automatically in Joomla
- Redirect Visitors by Country in Joomla
- Redirect Users After Login by User Group in Joomla
- Block User Registration with Certain Usernames in Joomla
- Block User Registration by Country in Joomla
- Block User Registration by Email Address in Joomla
- Block User Registration by IP Address in Joomla
- Remove the Forgot Password and Username Links in Joomla
- Remove the Generator Meta Tag in Joomla
- Let Users Log In with Their Email Address in Joomla
- Block Traffic by Country in Joomla
- Block Bot Traffic in Joomla
- Block Traffic by IP Address in Joomla
Add the TikTok Pixel to Joomla
See which TikTok ad clicks turn into sales and sign-ups by adding the TikTok Pixel to your Joomla site, using one HTML snippet.
You pay for TikTok ads that send people to your Joomla site, and then the data stops. TikTok can tell you how many people clicked, but not how many bought or signed up. Without that feedback, TikTok spends your budget on the cheapest clicks instead of the best customers. You can add the TikTok Pixel to Joomla with one HTML snippet in Code Snippets.
Get your pixel code
You need a TikTok Ads Manager account.
- Sign in to TikTok Ads Manager.
- Go to Tools → Events Manager.
- Set up a web data source, choose TikTok Pixel, then choose to install the pixel code manually.
- Copy the base code.
The snippet code
Use the base code exactly as TikTok gives it. It's one long script that already holds your Pixel ID in ttq.load('...') and reports a page view with ttq.page(). In the Site Header location it lands in the <head> of every page.
How to add this snippet
- Install Code Snippets if it isn't installed already.
- Log into your Joomla backend.
- Go to Components → Tassos Code Snippets.
- Click New.
- Enter a title, for example TikTok Pixel.
- Set Code Type to HTML.
- Set Insertion Method to Auto-Insert Locations.
- Set Location to Site Header.
- Paste your TikTok base code into the editor.
- Click Save & Close.
Track a purchase
The base code counts page views. To tell TikTok about a purchase, add a second snippet that runs only on your order confirmation page:
ttq.track('Purchase', {
value: 99.99,
currency: 'EUR'
});
- Click New.
- Enter a title, for example TikTok purchase.
- Set Code Type to JavaScript.
- Set Insertion Method to Auto-Insert Locations.
- Set Location to Site Footer.
- Paste the code above into the editor.
- Change
valueandcurrencyto match your order. -
Open the Conditional Logic tab:
- Set Display on to Selected Pages.
- Click New Condition Set.
- Click Select Condition and choose URL - Query String.
- In URL, enter a part of your thank you page's address, for example
thank-you.
- Click Save & Close.
For other actions, change Purchase to another standard event, like Lead, AddToCart, ViewContent or CompleteRegistration. TikTok renamed CompletePayment to Purchase and SubmitForm to Lead, and recommends the new names for new setups.
Check that it works
- Install the TikTok Pixel Helper extension for Chrome.
- Open your site, then your order confirmation page.
The extension should show the pixel on every page and the Purchase event only on the confirmation page. If nothing shows up, check that the snippets are published and turn off any ad blocker.
To track Facebook and Instagram ads too, see Add the Meta (Facebook) Pixel to Joomla. To learn more, read the HTML snippet docs and the JavaScript snippet docs.