diff --git a/src/index.njk b/src/index.njk index 62495d6..a5686e3 100644 --- a/src/index.njk +++ b/src/index.njk @@ -23,7 +23,7 @@ and just about anywhere else

- 100% free and open source + 100% free and open source

- Hey! My name is Justin. I live in Chattanooga, Tennessee with my wife, two kids, and dog, Ender. I built piratepx as way to get a little analytics insight into my own personal and indie projects (like Lateral.run) without having to resort to Google Analytics. You can follow me on Twitter at my original AOL screen name, @kidjustino. + Hey! My name is Justin. I live in Chattanooga, Tennessee with my wife, two kids, and dog, Ender. I built piratepx as way to get a little analytics insight into my own personal and indie projects (like Lateral.run) without having to resort to Google Analytics. You can follow me on Twitter at my original AOL screen name, @kidjustino.

diff --git a/src/readme.njk b/src/readme.njk index 3c0f2c8..af68c75 100644 --- a/src/readme.njk +++ b/src/readme.njk @@ -37,7 +37,7 @@ If you’re adding piratepx to a mobile app, server-side API, CLI, or other non-HTML context, simply use your preferred request library in the language of your project. Here are a few examples...

- JavaScript’s fetch: + JavaScript’s fetch:

const query = new URLSearchParams({
   p: '{% raw %}{{PROJECT_ID}}{% endraw %}',
@@ -47,7 +47,7 @@
 fetch(`https://app.piratepx.com/ship?${query.toString()}`)
 

- PHP’s file_get_contents: + PHP’s file_get_contents:

$query = http_build_query(array(
   'p' => '{% raw %}{{PROJECT_ID}}{% endraw %}',
@@ -57,7 +57,7 @@ fetch(`https://app.piratepx.com/ship?${query.toString()}`)
 file_get_contents("https://app.piratepx.com/ship?{$query}")
 

- curl: + curl:

curl -G -d 'p={% raw %}{{PROJECT_ID}}{% endraw %}' --data-urlencode 'i={% raw %}{{COUNT_IDENTIFIER}}{% endraw %}' https://app.piratepx.com/ship