1. Creating and Authenticating the Token in Wake
Wake API authentication is done through a Token. This token validates the merchant’s identity and grants permission to access store information.- Go to Settings > Integrations > Tokens.
- Click on Add Token.

- Define the Application Name to make identification easier.

- Configure the permissions that the token will have access to, ensuring it can only access authorized information.
- In Permissions, select the minimum recommended access for Nemu integration:
- In the GestorScript category, select the
POSTmethod for/gestorscripts/scripts

- In the Webhook category, select the
POSTmethod for/webhook/inscricao

- In the Orders category, select the
GETmethod for/pedidosand/pedidos/{pedidoId}

- Enter the technical responsible email.
- Click on Save.
2. Adding Content Security Policies (CSP) in Wake
For Nemu scripts and network calls to work correctly on your Wake store, add the following trusted origins to the Security Policies (CSP) in the Wake panel.-
In the Wake panel, go to Settings → Security → Security Policies (or search for Security Policies).

-
Add these URLs to the allowed domains list:
https://trackings.nemu.com.brhttps://openfpcdn.iohttps://ipinfo.iohttps://api.ipify.orghttps://api.bigdatacloud.net
3. Connecting Wake to Nemu
- In the Nemu Dashboard, go to the Platforms menu.
-
Click on Wake and then on the Connect button.

-
Fill in the requested fields:
- Store URL (your Wake store address)
- Token (copied earlier in the Wake panel)
-
Click on Save.

4. Verifying the Nemu Pixel in Wake
After completing the previous step, Nemu automatically creates and publishes the Pixel in your store through Wake’s Script Manager. You do not need to copy or paste any script manually. To confirm everything went well:-
In the Wake admin panel, go to Admin Settings →
Script Manager.

-
In the filter, select All and click Apply filter.

-
Search for Pixel da Nemu in the search field and click Search.

-
In the row for the Pixel da Nemu - (code) script (or Pixel da Nemu, if you
did the manual installation from section 5), check that:
- the Active column is enabled;
- the Publication Date column is filled in;
- the End Date is not a past date.

Wake’s cache time is at least 5 minutes. Wait for this period
before validating whether the Pixel is recording events.
5. Installing the Pixel manually (if the script does not appear)
If the Pixel da Nemu script does not appear in the list, the Token created in step 1 is probably missing thePOST permission for /gestorscripts/scripts in the
GestorScript category. Review the Token permissions in Wake and add the script manually:
-
In Wake, go to Admin Settings → Script Manager and click Add Script.

-
Fill in the script details as shown in the image below:

-
In Script Content, paste the Nemu Pixel script.
The script content is a field for inserting scripts. Note that, to
insert a script, it must start with the
<script>tag and end with</script>; this is required. The Nemu Pixel script can be copied in step 4 of the Configuring the Pixel documentation.
- To publish the content on the site, click Save and then Publish.
- Repeat the verification in section 4. In step 4, check the Pixel da Nemu row, which is the name used in this manual installation.