# 8. Set Up GA4 Tracking Code and Facebook Pixel on Rakosell

**Setting Up GA4 Tracking Code and Facebook Pixel on Rakosell: A Step-by-Step Guide**

In today's e-commerce landscape, understanding your website visitors and tracking their behavior is crucial for the successful operation of an online store. Google Analytics 4 (GA4) and Facebook Pixel are two powerful tools that can help you comprehend user behavior and optimize your marketing strategies. In this tutorial, we'll guide you on how to set up GA4 Tracking Code and Facebook Pixel on Rakosell to start tracking your visitors.

## <mark style="background-color:purple;">**A. Setting Up GA4 Tracking Code**</mark>

*Google Analytics 4 (GA4) is an advanced analytics platform by Google that offers in-depth insights into website visitors. To set up GA4 Tracking Code, follow these steps:*

<figure><img src="https://2473089629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF9mEV5TQ4TKLIaZyAhbp%2Fuploads%2FZ0dJr7My9RJXuzSyE3wy%2F1.jpeg?alt=media&#x26;token=acb670c6-3ebe-4dea-8dc1-0eeb969dd827" alt=""><figcaption></figcaption></figure>

1. **Log in to your Google Analytics account.** If you don't have an account, create one.
2. **Create a new GA4 Property,** providing the required information, including your website URL.
3. In the Property's Admin settings, click on "Data Stream" and then the "Earth" icon.
4. Click on "View tag instructions" under Google Tag to get your GA4 Tracking Code.
5. **Log in to your Rakosell dashboard.**
6. In the Rakosell dashboard, go to the "Site Settings" section.
7. In the "Advanced Customization Code" section, paste your GA4 Tracking Code into the corresponding field.
8. **Save the settings.** Your website is now configured to use GA4 Tracking Code for visitor tracking.

<figure><img src="https://2473089629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF9mEV5TQ4TKLIaZyAhbp%2Fuploads%2FaHx2szjFcDjG7Hmeovjo%2F4.jpeg?alt=media&#x26;token=6c698b2c-d90b-4893-b8d9-fc9f84f0e5d1" alt=""><figcaption></figcaption></figure>

## <mark style="background-color:purple;">B.</mark> <mark style="background-color:purple;"></mark><mark style="background-color:purple;">**Setting Up Facebook Pixel**</mark>

*Facebook Pixel is a tool by Facebook that helps you track visitors from Facebook ads and assess ad effectiveness. To set up Facebook Pixel, follow these steps:*

<figure><img src="https://2473089629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF9mEV5TQ4TKLIaZyAhbp%2Fuploads%2FVVsEnlyeMotrt7q0dyjq%2F3.jpeg?alt=media&#x26;token=66afe924-8b52-45fe-9ab9-0486d92ce766" alt=""><figcaption></figcaption></figure>

1. **Log in to your Facebook Ads Manager account.**
2. Go to "Events Manager" and click on the "Data Sources" icon on the left.
3. Choose "Website" as the event type you want to track.
4. Provide your website URL as instructed, choose "Manually install the code," and obtain your Facebook Pixel code.
5. **Log in to your Rakosell dashboard.**
6. In the Rakosell dashboard, go to "Settings" or "Site Settings" section.
7. In the "Advanced Customization Code" section, paste your Facebook Pixel into the corresponding field.
8. **Save the settings.** Your website is now configured to use Facebook Pixel for tracking visitors from Facebook ads.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rakosell.gitbook.io/rakosell-setup-tutorials/8.-set-up-ga4-tracking-code-and-facebook-pixel-on-rakosell.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
